package com.tust.service;

import com.tust.domain.Course;

import java.util.List;

public interface CourseService {
    int insertCourse(Course course);
    int deleteCourse(String courseNum);
    int updateCourse(String oldCourseNum, Course course);
    List<Course> selectCourseByCourseNum(String courseNum);
    List<Course> selectCourseByCourseName(String courseName);
    List<Course> selectCourseByCredit(String credit);
    List<Course> selectCourseByOpenSemester(String openSemester);
    List<Course> selectCourseByCourseType(String courseType);
    List<Course> selectCourseByClassTimes(String classTimes);
    List<Course> selectCourseByPracticeTime(String practiceTime);
    List<Course> selectCourseByRegularGradeRate(String regularGradeRate);
    List<Course> selectCourseAll();
}
